public class Foo {
    public static enum MyEnum <caret>

    public void foo() {
    }
}